<?php

use yii\db\Migration;

/**
 * Handles the creation of table `{{%audio_service}}`.
 */
class m211202_094617_create_audio_service_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->createTable('{{%audio_service}}', [
            'id' => $this->primaryKey(),
            'title' => $this->string(),
            'audio_draft_text' => $this->text(),
            'audio_SSML_text' => $this->text(),
            'audio_file' => $this->string(),
        ]);
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropTable('{{%audio_service}}');
    }
}
